


let R = require('ramda');


/**
 *  maybe:: b-> (a -> b) -> Maybe a -> b
 */
module.exports = R.curry(function (x,f,m) {
    return m.isNothing()?x:f(m._value);
});
